﻿@{
    Layout = "_Layout.cshtml";
}

@section breadcrumbs
{
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
        </script>

        <ul class="breadcrumb">
            <li class="active"><i class="icon-home home-icon"></i> 控制台</li>
        </ul>

        @Html.Partial("_Version")
    </div>
}


<div class="page-content">
    <div class="page-header">
        <h1>
            控制台
        </h1>
    </div>

    <div class="row">
        <div class="col-xs-12">

            <div class="alert alert-block alert-success">
                <button type="button" class="close" data-dismiss="alert">
                    <i class="icon-remove"></i>
                </button>

                <i class="icon-ok green"></i>

                欢迎使用
                <strong class="green">
                    博龍微信管理系统
                    <small>(v1.0)</small>
                </strong>
            </div>

            @*<div class="row">
                <div class="space-6"></div>

                <div class="col-sm-12 infobox-container">
                    <div class="infobox infobox-green  ">
                        <div class="infobox-icon">
                            <i class="icon-edit"></i>
                        </div>

                        <div class="infobox-data">
                            <span class="infobox-data-number">共 0 篇文章</span>
                            <div class="infobox-content">今日新增 0 篇文章</div>
                        </div>
                    </div>

                    <div class="infobox infobox-blue  ">
                        <div class="infobox-icon">
                            <i class="icon-briefcase"></i>
                        </div>

                        <div class="infobox-data">
                            <span class="infobox-data-number">共 0 个案例</span>
                            <div class="infobox-content">今日新增 0 个案例</div>
                        </div>
                    </div>

                    <div class="infobox infobox-pink  ">
                        <div class="infobox-icon">
                            <i class="icon-globe"></i>
                        </div>

                        <div class="infobox-data">
                            <span class="infobox-data-number">共 0 条友情链接</span>
                            <div class="infobox-content">今日新增 0 条友情链接</div>
                        </div>
                    </div>

                    <div class="infobox infobox-red  ">
                        <div class="infobox-icon">
                            <i class="icon-comment"></i>
                        </div>

                        <div class="infobox-data">
                            <span class="infobox-data-number">共 0 条文章评论</span>
                            <div class="infobox-content">今日新增 0 条文章评论</div>
                        </div>
                    </div>

                    <div class="infobox infobox-orange2  ">
                        <div class="infobox-icon">
                            <i class="icon-comments"></i>
                        </div>

                        <div class="infobox-data">
                            <span class="infobox-data-number">共 0 条留言</span>
                            <div class="infobox-content">今日新增 0 条留言</div>
                        </div>
                    </div>

                </div>
            </div>*@<!-- /row -->

            @*<div class="hr hr32 hr-dotted"></div>*@

            @*<div class="row">

                    <div class="col-sm-7">

                        <h4 class="header smaller lighter red">
                            <i class="icon-signal"></i>
                            &nbsp;网站安全预警
                            <span class="label-sm">（当前域名：@Model.ServerInfo.SiteUrl）</span>
                        </h4>

                        <div class="well">
                            <h5 class="green smaller lighter">网站评级</h5>
                            <div class="hr"></div>
                            <div class="inline">
                                <div class="knob-container inline">
                                    <input type="text" class="input-small knob" value="@Model.WebScan.Score" data-min="0" data-max="100" data-width="80" data-height="80" data-thickness=".2" data-fgcolor="#87B87F" data-displayprevious="true" data-anglearc="250" data-angleoffset="-125" />
                                </div>
                                <h2 style="float:right; width:80%; ">@Html.Raw(Model.WebScan.ScoreMsg)</h2>
                            </div>
                            <div class="hr"></div>
                            <ul style="list-style-type:none; line-height:2;">
                                <li>
                                    <span class="label label-danger arrowed-in">漏洞情况</span>
                                    <span class="red">高危漏洞 <b class="green">@Model.WebScan.HighLoudong</b> 个、严重漏洞 <b class="green">@Model.WebScan.MidLoudong</b> 个、警告漏洞 <b class="green">@Model.WebScan.LowLoudong</b> 个、提醒漏洞 <b class="green">@Model.WebScan.InfoLoudong</b> 个</span>
                                </li>
                                <li>
                                    <span class="label label-pink arrowed-in">挂马情况</span>
                                    <b class="pink">@Model.WebScan.Guama</b>
                                </li>
                                <li>
                                    <span class="label label-warning arrowed-in">虚假网站</span>
                                    <b style="color:#F89406;">@Model.WebScan.Xujia</b>
                                </li>
                                <li>
                                    <span class="label label-purple arrowed-in">是否篡改</span>
                                    <b class="purple">@Model.WebScan.Cuangai</b>
                                </li>
                                <li>
                                    <span class="label label-yellow arrowed-in">有无旁注</span>
                                    <b style="color:#996633;">@Model.WebScan.Pangzhu</b>
                                </li>
                                <li>
                                    <span class="label label-info arrowed-in">谷歌情况</span>
                                    <b style="color:#3A87AD;">@Model.WebScan.Google</b>
                                </li>
                            </ul>
                        </div>
                    </div><!-- /span -->

                    <div class="space-6"></div>

                    <div class="col-sm-5">
                        <div class="widget-box transparent">
                            <div class="widget-header widget-header-flat">
                                <h4 class="lighter">
                                    <i class="icon-star orange"></i>
                                    服务器信息
                                </h4>

                                <div class="widget-toolbar">
                                    <a href="#" data-action="collapse">
                                        <i class="icon-chevron-up"></i>
                                    </a>
                                </div>
                            </div>

                            <div class="widget-body">
                                <div class="widget-main no-padding">
                                    <table class="table table-bordered table-striped">
                                        <thead class="thin-border-bottom">
                                            <tr>
                                                <th>
                                                    <i class="icon-caret-right blue"></i>
                                                    项目
                                                </th>

                                                <th>
                                                    <i class="icon-caret-right blue"></i>
                                                    值
                                                </th>
                                            </tr>
                                        </thead>

                                        <tbody>
                                            <tr>
                                                <td>@Html.DisplayNameFor(model=>model.ServerInfo.ServerIp)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ServerIp (@Model.ServerInfo.ServerIpInfo)</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.ServerSystem)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ServerSystem</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.ServerRuntime)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ServerRuntime</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.WebServerVersion)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.WebServerVersion</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.WebServerPort)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.WebServerPort</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.ServerScriptTimeout)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ServerScriptTimeout</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.ServerNetVersion)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ServerNetVersion</b>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td>@Html.DisplayNameFor(model => model.ServerInfo.ProgramMemory)</td>

                                                <td>
                                                    <b class="green">@Model.ServerInfo.ProgramMemory</b>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div><!-- /widget-main -->
                            </div><!-- /widget-body -->
                        </div><!-- /widget-box -->
                    </div>

                </div>*@

            @*<div class="hr hr32 hr-dotted"></div>*@

        </div>
    </div>
</div>

@section PageScript
{
    <script src="~/Content/assets/page/index.js" type="text/javascript"></script>
}